package cn.yj.core.business.service;

import cn.yj.annotation.pagehelper.page.Page;
import cn.yj.cgs.dba.entity.FeedBack;
import cn.yj.cgs.dba.mapper.FeedBackMapper;
import cn.yj.params.check.annotation.Require;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author 永健
 * @since 2021-06-19 13:29
 */
@Service
public class FeedBackService extends ServiceImpl<FeedBackMapper, FeedBack> {

    public Page<FeedBack> pageList(@Require Map<String, Object> params, @Require Page<FeedBack> page) {
        baseMapper.findList(params, page);
        return page;
    }
}
